@model IEnumerable<Campus.Entities.ObraSocial>

@{
    ViewBag.Title = "Obras Sociales";
}

<h2>Obras Sociales</h2>


<div class="">
<table class="table table-bordered table-striped">
<thead>
    <tr>
        <th class="actions"></th>
        <th>
            Nombre
        </th>
        <th>
            Telefono
        </th>
    </tr>
	</thead>
	<tbody>
@foreach (var item in Model) {
    <tr>
        <td>
		<div class="btn-group">
			<a href="@Url.Action("Details", new { id=item.ObraSocialId })" class="btn btn-small"><i class="icon-search"></i> Ver</a>
            <a href="@Url.Action("Edit", new { id=item.ObraSocialId })" class="btn btn-small"><i class="icon-pencil"></i> Editar</a>
            <a href="@Url.Action("Delete", new { id=item.ObraSocialId })" class="btn btn-small"><i class="icon-remove"></i> Borrar</a>          
		</div>
        </td>
        <td>
			@item.Nombre
        </td>
        <td>
			@item.Telefono
        </td>
    </tr>
}
</tbody>
</table>
<p>
    @Html.ActionLink("Crear Nuevo", "Create", null, new { @class = "btn" })
</p>
</div>


